[slug].vue 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <script lang='ts' setup>
  2. const list = [
  3. {
  4. id: 1,
  5. title: 'Stationary & Office Supplies',
  6. description: 'Discover bestsellers and fresh arrivals tailored to your niche.',
  7. img: 'https://picsum.photos/560/310',
  8. },
  9. {
  10. id: 2,
  11. title: 'Stationary & Office Supplies',
  12. description: 'Discover bestsellers and fresh arrivals tailored to your niche.',
  13. img: 'https://picsum.photos/560/310',
  14. },
  15. {
  16. id: 3,
  17. title: 'Stationary & Office Supplies',
  18. description: 'Discover bestsellers and fresh arrivals tailored to your niche.',
  19. img: 'https://picsum.photos/560/310',
  20. },
  21. {
  22. id: 4,
  23. title: 'Stationary & Office Supplies',
  24. description: 'Discover bestsellers and fresh arrivals tailored to your niche.',
  25. img: 'https://picsum.photos/560/310',
  26. },
  27. ]
  28. </script>
  29. <template>
  30. <div>
  31. <div class=" bg-#0F0820">
  32. <div class="header w-1200-auto text-center flex items-center justify-center h-600px bg-no-repeat bg-center" style="background-image: url('https://picsum.photos/420/420')">
  33. <h1 class="text-58px fw-800 text-#fff ls-2">
  34. STATIONARY & OFFICE SUPPLIES
  35. </h1>
  36. </div>
  37. </div>
  38. <div class="py-120px w-1200-auto text-center">
  39. <h2 class="text-36px fw-800 text-#333 !mb-20px">
  40. Our Latest Product <span class="custom-title-bg">Catalogs</span>
  41. </h2>
  42. <div class="text-#999 text-22px mb-40px">
  43. Discover bestsellers and fresh arrivals tailored to your niche.
  44. </div>
  45. <div class="grid grid-cols-2 gap-64px text-left">
  46. <div v-for="item in list" :key="item.id">
  47. <business-categories-comp-item :item="item" />
  48. </div>
  49. </div>
  50. </div>
  51. <common-block-catalogs />
  52. <common-block-blog class="!pb-0"/>
  53. <AppFooter />
  54. </div>
  55. </template>
  56. <style lang='less' scoped>
  57. .header{
  58. background-position: 50% 75%;
  59. }
  60. </style>